package com.example.leetcode.array;

import com.example.leetcode.array.common.ArrayUtils;

class Solution169 {
    public int majorityElement(int[] nums) {
        return ArrayUtils.majorityElement(nums);
    }
}

public class leetcode169 {
    public static void main(String[] args) {
        Solution169 solution169 = new Solution169();
        int[] nums = {2,2,1,1,1,2,2};
        System.out.println(solution169.majorityElement(nums));
    }
}
